package com.example.springboottpl.vo.common;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.List;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述：更新状态
 * 作者：刘飞华
 * 日期：2025/10/10 09:36:26
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "更新状态请求vo")
public class UpdateStatusReq implements Serializable {
    @Schema(description = "主键集合", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "ids集合不能为空")
    private List<Long> ids;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "status状态不能为空")
    private Integer status;

}
